#ifndef FRAME_H
#define FRAME_H

#include <QMainWindow>
#include <QtGui>

QT_BEGIN_NAMESPACE
    class QAction;
    class QLabel;
    class QFrame;
    class QMenu;
    class QScrollArea;
    class QSlider;
    class QWidget;
    class QPixmap;
    class QPushButton;
    class QRadioButton;
    class QCheckBox;
    class QGridLayout;
    class QHBoxLayout;
    class QSpinBox;
    class QToolButton;
    class QVBoxLayout;
    class QColor;
    class QSlider;
QT_END_NAMESPACE

class Frame : public QFrame
 {
     Q_OBJECT

 public:
     Frame();

 private:
     void createMenu();
     void createHorizontalGroupBox();
     void createGridGroupBox();
     void createFormGroupBox();

     enum { NumGridRows = 3, NumButtons = 4 };

     QMenuBar *menuBar;
     QGroupBox *horizontalGroupBox;
     QGroupBox *gridGroupBox;
     QGroupBox *formGroupBox;
     QTextEdit *smallEditor;
     QTextEdit *bigEditor;
     QLabel *labels[NumGridRows];
     QLineEdit *lineEdits[NumGridRows];
     QPushButton *buttons[NumButtons];
     QDialogButtonBox *buttonBox;

     QMenu *fileMenu;
     QAction *exitAction;
 };

#endif // FRAME_H
